<?php $controller = $this->uri->segment(1);
$function = $this->uri->segment(2);
?>
<div class="space"><a name="top"></a></div>
<div id="column_left" class="clearfix">
    <div class="content"> 
		<link type="text/css" rel="stylesheet" href="http://www.hongocha.vn/alphacms/themes/hongocha/news/css/news.css">
<!--effect hover-->
	<style type="text/css">
		/* *, body{
			padding:0;
			margin:0;
		} */
		a img{
			border:none;
		}
		/*Start here*/
		#div1 a{
			display:block;
			position:relative;
			height:120px;
			width:120px;
		}
		#div1 a span{
			position:absolute;
			height:120px;
			width:120px;
			top:0;
			left:0;
		}


		/*
		 * CSS only technique
		 * 
		#div1 a img{
			display:inline;
		}
		#div1 a span img{
			display:none;
		}
		#div1 a:hover img{
			display:none;
		}
		#div1 a:hover span img{
			display:inline;
		}
		*/
	</style>
	<script type="text/javascript">
		$(document).ready(function(){
			$('#div1 a').hover(function(){
				$('span img',$(this)).fadeOut();
				$('>img',$(this)).fadeIn();//Khong co cung ko sao
			},function(){
				$('span img',$(this)).fadeIn();
				$('>img',$(this)).fadeOut();//Neu bo phia tren thi bo luon o day
			})
		});
	</script>
		<!--end effect hover-->
		<div class="news">
			<?php 
			if(!empty($result)):
			?>
			<div class="breadcrumb">
				<a href="<?=base_url()?>">Trang chủ</a> » <a href="<?=base_url().'tin-tuc'?>">TIN TỨC</a> <?php if($function != ''){?>» <a href="<?=base_url().'tin-tuc/'.$module[0]['slug']?>"><?=$module[0]['name']?></a><?php } ?>
			</div>
			<div class="line_bottom clearfix"></div>
			<?php 
			foreach($result as $value):
			?>
			<div class="images120">
				<div id="div1">
						<a href="<?=base_url().'tin-tuc/'.$value['menu_slug'].'/view/'.$value['slug']?>">
						<img style="display: none;" src="<?=base_url().IMAGE_THUMB_DIR.$value['thumb']?>" height="120" width="120">
						<span class="hoverblack">
							<img style="display: inline;" src="<?=base_url().IMAGE_THUMB_DIR.$value['thumb']?>" height="120" width="120">
						</span>
					</a>
				</div>
				<span class="author">Cập nhật bởi: <?=$value['author']?></span>
			</div>
			<h3>
				<a href="<?=base_url().'tin-tuc/'.$value['menu_slug'].'/view/'.$value['slug']?>"><?=$value['name']?></a>
				<br>
				<small class="date">
					<img src="<?=base_url().'static/images/'?>bg-meta-categories.gif" align="absmiddle"> 
						<a href="<?=base_url().'tin-tuc/'.$value['menu_slug']?>">
							<strong><?=$value['menu_name']?></strong>
						</a> 
						<img src="<?=base_url().'static/images/'?>bg-meta-date.gif" align="absmiddle" />&nbsp;<?=date('Y-m-d',strtotime($value['created_time']))?>&nbsp;<img src="<?=base_url().'static/images/'?>folder_star.png" align="absmiddle"/>&nbsp;<strong><?=$value['view_count']?></strong>&nbsp;lượt xem&nbsp;<img src="<?=base_url().'static/images/'?>bg-meta-comments.gif" align="absmiddle"/></small>
			</h3>
			<p><span><?=parserEditorHTML($value['intro'])?></span></p>
			<div class="readmore">
			<a href="<?=base_url().$controller.'/'.$value['menu_slug'].'/view/'.$value['slug']?>">xem chi tiết</a></div>
			<div class="line_dot_bottom clearfix"></div>
			<?php 	
				endforeach;
			endif;
			?>
			<?=$this->pagination->create_links()?>
		</div>
	</div>
</div>
<div id="column_right" class="clearfix"> 
	<div class="column_right1 clearfix">
		<style type="text/css">	
		#flash_banner_event{
			margin:0px;
			padding:0px;
		}
		* embed{
			margin:0;
			padding:0;
		}
		</style>
		<div id="flash_banner_event">
			<div id="slider2" style="height:327px;width:288px;">
				<img src="<?=base_url()?>static/images/slides/slider2_1.jpg" alt="" />
				<img src="<?=base_url()?>static/images/slides/slider2_2.jpg" alt="" />
				<img src="<?=base_url()?>static/images/slides/slider2_3.jpg" alt="" />
				<img src="<?=base_url()?>static/images/slides/slider2_4.jpg" alt="" />
			</div>
		</div>
	</div>
	<div class="column_right2 clearfix"><!--effect hover-->
		<style type="text/css">
			/* *, body{
				padding:0;
				margin:0;
			} */
			a img{
				border:none;
			}
			/*Start here*/
			#div200 a{
				display:block;
				position:relative;
				height:327px;
				width:200px;
			}
			#div200 a span{
				position:absolute;
				height:327px;
				width:200px;
				top:0;
				left:0;
			}
			.title_catalog {
				text-transform: uppercase;
				font-weight: bold !important;
				}
			ol,ul{
			list-style:none outside none;
			margin-top: 0px; padding-left: 0px;
			}
			/*
			 * CSS only technique
			 * 
			#div1 a img{
				display:inline;
			}
			#div1 a span img{
				display:none;
			}
			#div1 a:hover img{
				display:none;
			}
			#div1 a:hover span img{
				display:inline;
			}
			*/
		</style>
		<script type="text/javascript">
			$(document).ready(function(){
				$('#div200 a').hover(function(){
					$('span img',$(this)).fadeOut();
					$('>img',$(this)).fadeIn();//Khong co cung ko sao
				},function(){
					$('span img',$(this)).fadeIn();
					$('>img',$(this)).fadeOut();//Neu bo phia tren thi bo luon o day
				})
			});
		</script>
		<ul>
			<li>
				<div id="div200">
					<a href="<?=base_url()?>" class="hover" target="_blank">
						<img src="<?=base_url()?>static/images/ads_right.jpg" alt="" width="200px" height="327px;"/>
						<span class="hoverblack">
							<img src="<?=base_url()?>static/images/ads_right.jpg" alt="" width="200px" height="327px;"/>
						</span>
					</a>
				</div>
			</li>
		</ul>
	</div>
	<div class="line_none clearfix"></div>
	<div class="column_right3 clearfix">
		<style type="text/css">
			/* *, body{
				padding:0;
				margin:0;
			} */
			a img{
				border:none;
			}
			/*Start here*/
			#div160 a{
				display:block;
				position:relative;
				height:180px;
				width:160px;
				float:left;
				margin:3px 0px 3px 10px;
			}
			#div160 a span{
				position:absolute;
				height:180px;
				width:160px;
				top:0;
				left:0;
			}
			.title_catalog {
				text-transform: uppercase;
				font-weight: bold !important;
				}

			/*
			 * CSS only technique
			 * 
			#div1 a img{
				display:inline;
			}
			#div1 a span img{
				display:none;
			}
			#div1 a:hover img{
				display:none;
			}
			#div1 a:hover span img{
				display:inline;
			}
			*/
		</style>
		<script type="text/javascript">
			$(document).ready(function(){
				$('#div160 a').hover(function(){
					$('span img',$(this)).fadeOut();
					$('>img',$(this)).fadeIn();//Khong co cung ko sao
				},function(){
					$('span img',$(this)).fadeIn();
					$('>img',$(this)).fadeOut();//Neu bo phia tren thi bo luon o day
				})
			});
		</script>
		<span class="wtitle">Thư viện ảnh</span>
		<?php 
		if(!empty($images_library)):
			foreach($images_library AS $images):
		?>
		<div id="div160">
			<a href="<?=base_url().'hinh-anh/'.$images['slug']?>">
				<img src="<?=base_url().ALBUM_THUMB_DIR.$images['thumb']?>" width="160px;"/>
				<span class="hoverblack">
					<img src="<?=base_url().ALBUM_THUMB_DIR.$images['thumb']?>" width="160px;"/>		
				</span>
			</a>
		</div>
		<?php 
			endforeach;
		endif; 
		?>
	</div>
	<div class="line_none clearfix"></div>
	<div class="column_right1">
		<iframe width="510" height="360" src="http://www.youtube.com/embed/rKqruCrm-pw" frameborder="0" allowfullscreen></iframe>
	</div>
	<div class="column_right3 clearfix">
		<style type="text/css">
		/* *, body{
			padding:0;
			margin:0;
		} */
		a img{
			border:none;
		}
		/*Start here*/
		#divauto a{
			display:block;
			position:relative;
		}
		#divauto a span{
			position:absolute;
			top:0;
			left:0;
		}
		.title_catalog {
			text-transform: uppercase;
			font-weight: bold !important;
			}
		/*
		 * CSS only technique
		 * 
		#div1 a img{
			display:inline;
		}
		#div1 a span img{
			display:none;
		}
		#div1 a:hover img{
			display:none;
		}
		#div1 a:hover span img{
			display:inline;
		}
		*/
		</style>
		<ul>
			<li>
				<div id="divauto">
					<a href="#" class="hover" target="_blank">
						<img src="<?=base_url()?>static/images/slides/3.jpg"/>
						<span class="hoverblack">
							<img src="<?=base_url()?>static/images/slides/3.jpg"/>
						</span>
					</a>
				</div>
			</li>
		</ul>
	</div>
</div>
<div class="line_none clearfix"></div>
    <h2 class="title">Thống kê website</h2>
<div class="line_none clearfix"></div> 
Tổng số đang trực tuyến: <strong>119</strong> [ Thành viên: <strong>2</strong>, Khách: <strong>117</strong> ] 
 Lượt truy cập: <strong>389076</strong>. Tổng số trang được xem: <strong>872180</strong>
<div class="line_none clearfix"></div>
Thành viên đang duyệt website:

 cumeobumi,  

 cumeobumi,  
<div class="line_none clearfix"></div>
	<style type="text/css">
		/* *, body{
			padding:0;
			margin:0;
		} */
		a img{
			border:none;
		}
		/*Start here*/
		#divauto a{
			display:block;
			position:relative;
		}
		#divauto a span{
			position:absolute;
			top:0;
			left:0;
		}
		.title_catalog {
			text-transform: uppercase;
			font-weight: bold !important;
			}
		/*
		 * CSS only technique
		 * 
		#div1 a img{
			display:inline;
		}
		#div1 a span img{
			display:none;
		}
		#div1 a:hover img{
			display:none;
		}
		#div1 a:hover span img{
			display:inline;
		}
		*/
	</style>
	<ul>
		<li>
			<div id="divauto">
				<a href="#" class="hover" target="_blank">
					<img src="<?=base_url()?>static/images/slides/4.jpg"/>
					<span class="hoverblack">
						<img src="<?=base_url()?>static/images/slides/4.jpg"/>
					</span>
				</a>
			</div>
		</li>
	</ul>